package lohr.lang.dom;


/**
 * An API for processing a lohr DOM document based on the visitor pattern.
 */
public interface DOMVisitor {
	
	/**
	 * @return a boolean that indicates if children should be processed.
	 */
	boolean visit(LohrElement lohrElement);

	/**
	 * The complete methods are invoked after invoking the visit method and visiting
	 * all children elements.
	 */
	void complete(LohrElement lohrElement);
}
